/*******************************************************************************
 * Package: com.hngtrust.iir.report.controller.dto
 * Type:    QyeryUploadReportRespVO
 * Date:    2021/6/1 13:48
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.report.controller.dto;

import com.hngtrust.iir.user.entity.TagRel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 查看上传研报结果响应
 *
 * @author Keqiwei
 * @date 2021/6/1 13:48
 */
@ApiModel(description = "查看上传研报结果响应")
@Data
public class QueryUploadReportRespVO {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private String id;
    
    @ApiModelProperty(value = "mysqlId")
    private Long mysqlId;
    
    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id")
    private List<String> compIds;
    
    /**
     * 公司名
     */
    @ApiModelProperty(value = "公司名")
    private List<String> compNames;
    
    
    @ApiModelProperty(value = "来源id")
    private String sourceId;
    
    /**
     * 发布时间
     */
    @ApiModelProperty(value = "发布时间")
    private String createTime;
    
    /**
     * 发布内容
     */
    @ApiModelProperty(value = "发布内容")
    private String content;
    
    /**
     * html正文
     */
    @ApiModelProperty(value = "html正文")
    private String html;
    
    /**
     * 文章标签
     */
    @ApiModelProperty(value = "文章标签")
    private String tags;
    
    /**
     * 摘要
     */
    @ApiModelProperty(value = "摘要")
    private String summary;
    
    /**
     * 原始文件名称
     */
    @ApiModelProperty(value = "原始文件名称")
    private String fileName;
    
    /**
     * 文件路劲
     */
    @ApiModelProperty(value = "文件路劲")
    private String filePath;
    
    /**
     * 研报日期
     */
    @ApiModelProperty(value = "研报日期")
    private Date date;
    
    /**
     * 研究员
     */
    @ApiModelProperty(value = "研究员")
    private String researchers;
    
    /**
     * 研报类型
     */
    @ApiModelProperty(value = "研报类型")
    private Integer type;
    
    /**
     * 评级
     */
    @ApiModelProperty(value = "评级")
    private Integer rank;
    
    /**
     * 观点
     */
    @ApiModelProperty(value = "观点")
    private String viewpoint;
    
    /**
     * 行业id
     */
    @ApiModelProperty(value = "行业id")
    private String industryId;
    
    /**
     * 行业名
     */
    @ApiModelProperty(value = "行业名")
    private String industryName;
    
    
    
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
    
    /**
     * 自定义标签
     */
    @ApiModelProperty(value = "自定义标签")
    private List<TagRel> labels;
    
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    
    /**
     * 研报发布时间
     */
    @ApiModelProperty(value = "研报发布时间")
    private Date publishtime;
    
    /**
     * 评级变动
     */
    @ApiModelProperty(value = "评级变动")
    private Integer rankChange;
    
    @ApiModelProperty(value = "来源")
    private String source;
    
    
    @ApiModelProperty(value = "研报图表")
    private List<Pic> pic;
    
    
    @ApiModel(description = "图表")
    @Data
    public static class Pic{
        @ApiModelProperty(value = "图表类型 0 图 1 表格")
        private Integer type;
        @ApiModelProperty(value = "图表文字")
        private String content;
        @ApiModelProperty(value = "图表位置")
        private String url;
        @ApiModelProperty(value = "来源id")
        private String sourceId;
    }
    
}
